package com.lansea.wms.model;

import com.lansea.wms.entity.SerializeBase;
import com.lansea.wms.entity.ValidClass;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.Min;
@Data
@Repository
@ApiModel(value = "Auth")
public class Auth extends SerializeBase {

    @Min(value = 1, message = "id非法", groups = {ValidClass.EditForm.class})
    private Integer id;
    private Integer pid;
    private String name;
    private String url;




}
